Repository navigation
fix(id): quarantine cyclic note revisions - #4587
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 5 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
CI coverage note: this PR has the basic OpenCode metered-provider guard passing; CodeRabbit skipped. The policy-listed id affected-crate PR matrix did not run: .github/workflows/id-check.yml currently triggers on push to main, schedule, and workflow_dispatch, but not pull_request. The task checkpoint records the targeted notes/cycle tests passing locally (7 passed). I am recording this trigger/policy coverage gap rather than treating it as a CI pass. |
Summary
Fixes #4298.
Evidence
UnknownParentdespite the parent being present.CyclicParent; quarantine tests keep healthy notes readable while dropping cyclic revisions and dependents.cargo test --manifest-path pkgs/id/Cargo.toml --no-default-features --features world --lib notes::tests— 6 passed.cargo test --manifest-path pkgs/id/Cargo.toml --no-default-features --features world --lib test_cyclic_remote_revisions_do_not_disable_healthy_notes— 1 passed.Merge Danger
Door: two-way
Blast Radius: low
Only malformed cyclic note revisions are excluded from the projection; stored events and healthy note histories are unchanged.